package com.irdstudio.efp.esb.api.bean.sed.credit.req;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.irdstudio.basic.framework.core.annotation.BeanMapKey;
import com.irdstudio.basic.framework.core.annotation.DicType;
import com.irdstudio.basic.framework.core.constant.SDicCertTypeEnum;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * 
  * TODO 合同要素查询请求实体类
  * @author wanglihua
  * @since 2019年4月18日 下午3:30:12
  * @version 1.0
 */
@JsonPropertyOrder(alphabetic = true)
public class ReqContractEleAcqBean {
	
	@BeanMapKey("CrdtAppFlowNo")
	@JsonProperty("CrdtAppFlowNo")
	@NotNull
	@NotEmpty
	@Length(max = 64)
	private String CrdtAppFlowNo;
	
	@BeanMapKey("ClntNo")
	@JsonProperty("ClntNo")
	@Length(max = 32)
	private String ClntNo;
	
	@BeanMapKey("CertTp")
	@JsonProperty("CertTp")
	@NotNull
	@NotEmpty
	@Length(max = 32)
	@DicType(dicType = SDicCertTypeEnum.class, method = "getValue")
	private String CertTp;
	
	@BeanMapKey("CertNo")
	@JsonProperty("CertNo")
	@NotNull
	@NotEmpty
	@Length(max = 32)
	private String CertNo;

	public String getCrdtAppFlowNo() {
		return CrdtAppFlowNo;
	}

	public void setCrdtAppFlowNo(String crdtAppFlowNo) {
		CrdtAppFlowNo = crdtAppFlowNo;
	}

	public String getClntNo() {
		return ClntNo;
	}

	public void setClntNo(String clntNo) {
		ClntNo = clntNo;
	}

	public String getCertTp() {
		return CertTp;
	}

	public void setCertTp(String certTp) {
		CertTp = certTp;
	}

	public String getCertNo() {
		return CertNo;
	}

	public void setCertNo(String certNo) {
		CertNo = certNo;
	}
}
